Ext.define('AM.view.EfficiencyGrid', {
		extend: 'Ext.grid.Panel',
		alias : 'widget.efficiencyGrid',
		store : 'SupplyroomStore',
		columnLines:true,
//		selModel : Ext.create('Ext.selection.CheckboxModel'),
		selModel: {
	        injectCheckbox: 0,
	        mode: "SIMPLE"    //"SINGLE"/"SIMPLE"/"MULTI"
	       
   		 },
   		selType: "checkboxmodel",
    	dockedItems: [{
        xtype: 'pagingtoolbar',
        dock: 'bottom',
        store : 'SupplyroomStore',
        displayInfo: true
    }],
		columns: [	
			        {text: '序号', xtype: 'rownumberer',width:50,align:'center'},
			        { text: 'ID', dataIndex: 'id', width:0,align:'center'},
			        { text: '工作总量', dataIndex: 'totalwork', width:160,align:'center'},
			        { text: '价值总量', dataIndex: 'costtotal', width:160,align:'center'},
			        { text: '奖金', dataIndex: 'bouns', width:160,align:'center'},
			        { text: '日期', dataIndex: 'date', width:100,align:'center'}
			     ],
			   tbar: [
					  { xtype: 'button', text: '增加',icon: 'Ext/restful/images/add.png'
					  },
					  { xtype: 'button', text: '修改',icon: 'Ext/restful/images/cog_edit.png'
					  },
					  { xtype: 'button', text: '删除',icon: 'Ext/restful/images/delete.png'
					  }
					]
		
})